<%--
  Created by IntelliJ IDEA.
  User: 代浩楠
  Time: 13:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Insert title here</title>
    <link rel="stylesheet" href="lib/css/carousel.css" />
    <link rel="stylesheet" href="lib/bootstrap/css/bootstrap.min.css" />
    <script type="text/javascript" src="lib/jquery/jquery-1.9.1.min.js"></script>
    <script type="text/javascript" src="lib/bootstrap/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="layui/css/layui.css">
    <link rel="stylesheet" href="font-awesome-4.7.0/css/font-awesome.min.css">
    <script src="layui/layui.js"></script>
    <script src="js/frameLayUi.js"></script>
</head>
<body>
<div style="margin: 0 auto;width: 400px" >
    <form action="" method="post" style="width: 400px;padding: 50px;background-color: #ffffff;border-radius: 6px;" >
        <h3 align="center" style="margin-top:-20px; color:#666664;">用户名单如下:</h3>
        <table  width="80%" borderColor="#C0C0C0" align="center" class="table table-striped table-bordered" style="margin-top: 50px">
            <tr>
                <th>用户名</th>
                <th>电话</th>
            </tr>
            <c:forEach items="${list }" var="u">
                <tr>
                    <td><a href="UserServlet?m=queryUser&&name=${u.name }" style="color: #1E9FFF;text-decoration: underline ">${u.name }</a></td>
                    <td>${u.phone}</td>
                </tr>
            </c:forEach>
        </table>
        <button class="layui-btn" href="searchUserMsg.jsp" style="margin-left:35%;display: block">返回</button>
    </form>
</div>
</body>
</html>
